home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _C80850AC42D14133845ACCCD96A30F85 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.2 KB  |  197 lines

  1.  
  2.   Public
  3.   (
  4. #if %ENVCMAMB
  5.     float 'ReflectAmount' (0.25)
  6. #elif %ENVCMSPEC
  7.     float 'EnvMapContrast' (0)
  8.     float 'EnvMapSaturation' (1)
  9.     float 'EnvMapAmount' (1)
  10.     float 'FresnelScale' (1)
  11.     float 'FresnelBias' (0)
  12.     float 'FresnelPow' (5)
  13. #endif
  14. #if %SPECULAR && %SPECULAR_PERPIXEL
  15.   #if %SPECULARPOW_GLOSSALPHA
  16.     float 'SpecularExpMultiplier' (255)
  17.   #else
  18.     float 'SpecularExp' (32)
  19.   #endif  
  20. #endif    
  21.   )
  22.  
  23. #if %RTCUBEMAP
  24.   RenderParams
  25.   {
  26.     DrawFarSprites
  27.     DrawStaticObjects
  28.     DrawParticles
  29.     DrawEntities
  30.     DrawIndoors
  31.     DrawDetailTextures
  32.     FullDetailTerrain
  33.     DrawWater
  34.     DrawTerrain
  35.   }
  36. #endif  
  37.  
  38.   HW 'Seq'
  39.   (
  40.     Conditions
  41.     {
  42.       InShadow
  43.       HasDOT3LM
  44.       NoLights
  45.     }
  46.  
  47.     #define %DOT3LM 0x1000000
  48.     #include "AmbPassTempl.csi"
  49.     #include "ShadowTempl.csi"
  50.     #undefine %DOT3LM    
  51.   )
  52.  
  53.   HW 'Seq'
  54.   (
  55.     Conditions
  56.     {
  57.       InShadow
  58.       HasDOT3LM
  59.       MultipleLights
  60.       SingleLight
  61.     }
  62.  
  63.     #include "LightingTempl.csi"
  64.  
  65.     #define %DOT3LM 0x1000000
  66.     #include "AmbPassTempl.csi"
  67.     #include "ShadowTempl.csi"
  68.     #undefine %DOT3LM
  69.   )
  70.  
  71.   HW 'Seq'
  72.   (
  73.     Conditions
  74.     {
  75.       InShadow
  76.       SingleLight
  77.     }
  78.  
  79.     #define %SINGLELIGHT 0x20000000
  80.     #include "LightingTempl.csi"
  81.     #undefine %SINGLELIGHT
  82.  
  83.     #include "ShadowTempl.csi"
  84.   )
  85.  
  86.   HW 'Seq'
  87.   (
  88.     Conditions
  89.     {
  90.       InShadow
  91.       MultipleLights
  92.     }
  93.  
  94.     #include "LightingTempl.csi"
  95.     #include "AmbPassTempl.csi"
  96.     #include "ShadowTempl.csi"
  97.   )
  98.  
  99.   HW 'Seq'
  100.   (
  101.     Conditions
  102.     {
  103.       NoLights
  104.       HasDOT3LM
  105.     }
  106.  
  107.     // Only Ambient pass
  108.     #define %DOT3LM 0x1000000
  109.     #include "AmbPassTempl.csi"
  110.     #undefine %DOT3LM
  111.   )
  112.   
  113.   // Technique 'NoLights'
  114.   HW 'Seq'
  115.   (
  116.     Conditions
  117.     {
  118.       NoLights
  119.       HasLM
  120.     }
  121.  
  122.     // Only Ambient pass
  123.     #define %LM 0x2000000
  124.     #include "AmbPassTempl.csi"
  125.     #undefine %LM
  126.   )
  127.  
  128.   HW 'Seq'
  129.   (
  130.     Conditions
  131.     {
  132.       NoLights
  133.     }
  134.  
  135.     // Only Ambient pass
  136.     #include "AmbPassTempl.csi"
  137.   )
  138.  
  139.   // Technique 'Single and Multiple Lights with Lightmaps' (optimization)
  140.   HW 'Seq'
  141.   (
  142.     Conditions
  143.     {
  144.       SingleLight
  145.       MultipleLights
  146.       HasDOT3LM
  147.     }
  148.  
  149.     #define %DOT3LM 0x1000000
  150.     #include "AmbPassTempl.csi"
  151.     #undefine %DOT3LM
  152.  
  153.     #include "LightingTempl.csi"
  154.   )
  155.  
  156.   // Technique 'Single and Multiple Lights with Lightmaps' (optimization)
  157.   HW 'Seq'
  158.   (
  159.     Conditions
  160.     {
  161.       SingleLight
  162.       MultipleLights
  163.       HasLM
  164.     }
  165.  
  166.     #define %LM 0x2000000
  167.     #include "AmbPassTempl.csi"
  168.     #undefine %LM
  169.  
  170.     #include "LightingTempl.csi"
  171.   )
  172.  
  173.   // Technique 'Single and Multiple Lights without Lightmaps' (optimization)
  174.   HW 'Seq'
  175.   (
  176.     Conditions
  177.     {
  178.       SingleLight
  179.     }
  180.  
  181.     #define %SINGLELIGHT 0x20000000
  182.     #include "LightingTempl.csi"
  183.     #undefine %SINGLELIGHT
  184.   )
  185.  
  186.   // Technique 'Single and Multiple Lights without Lightmaps' (optimization)
  187.   HW 'Seq'
  188.   (
  189.     Conditions
  190.     {
  191.       MultipleLights
  192.     }
  193.  
  194.     #include "AmbPassTempl.csi"
  195.     #include "LightingTempl.csi"
  196.   )
  197.